package com.youbug.kefu.service;

import com.youbug.kefu.entity.Menu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youbug.kefu.vo.MenuVo;
import com.youbug.kefu.vo.MenusForRoleVo;

import java.util.List;

/**
 * <p>
 * 菜单表 服务类
 * </p>
 *
 * @author apu
 * @since 2022-12-08
 */
public interface IMenuService extends IService<Menu> {

    List<Menu> getMenus(MenuVo menuVo);

    List<Menu> getParentMenus(MenuVo menuVo);

    List<Long> getMenusForRole(Long roleId);

    Boolean saveMenusForRole(MenusForRoleVo menusForRoleVo);
}
